package edu.wata.domain;

import java.time.LocalDate;

public class Article {

	private int id;
	private String title;
	private String content;
	private LocalDate publistTime;
	private int click;
	private int like;
	private int typeId;
	private int userId;
	private int top;
	private int support;

	public Article(int id, String title, String content, LocalDate publistTime, int click, int like, int typeId,
			int userId, int top, int support) {
		super();
		this.id = id;
		this.title = title;
		this.content = content;
		this.publistTime = publistTime;
		this.click = click;
		this.like = like;
		this.typeId = typeId;
		this.userId = userId;
		this.top = top;
		this.support = support;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public LocalDate getPublistTime() {
		return publistTime;
	}

	public void setPublistTime(LocalDate publistTime) {
		this.publistTime = publistTime;
	}

	public int getClick() {
		return click;
	}

	public void setClick(int click) {
		this.click = click;
	}

	public int getLike() {
		return like;
	}

	public void setLike(int like) {
		this.like = like;
	}

	public int getTypeId() {
		return typeId;
	}

	public void setTypeId(int typeId) {
		this.typeId = typeId;
	}

	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public int getTop() {
		return top;
	}

	public void setTop(int top) {
		this.top = top;
	}

	public int getSupport() {
		return support;
	}

	public void setSupport(int support) {
		this.support = support;
	}

}
